package cn.ee.dfs.lotto.lottery;

import cn.ee.dfs.common.converter.TimeConverter;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;

import java.util.Date;

/**
 * 大乐透 Entity
 *
 * @author TWJ
 * @date 2024-02-04 16:18:29
 */
@Data
@TableName("t_super_lottery")
@Excel("dlt表")
public class SuperLottery {

    @TableId(value = "lotteryId", type = IdType.AUTO)
    private Long lotteryId;

    /**
     * 期号
     */
    @TableField("lotteryDrawNum")
    @ExcelField(value = "期号")
    private String lotterydrawnum;

    /**
     * 名称
     */
    @TableField("lotteryGameName")
    private String lotterygamename;

    /**
     * 开奖日期
     */
    @TableField("lotteryDrawTime")
    @ExcelField(value = "开奖日期")
    private String lotterydrawtime;

    /**
     * 售奖开始时间
     */
    @TableField("lotterySaleBeginTime")
//    @ExcelField(value = "开始时间", writeConverter = TimeConverter.class)
    private Date lotterysalebegintime;

    /**
     * 售奖结束时间
     */
    @TableField("lotterySaleEndtime")
//    @ExcelField(value = "结束时间", writeConverter = TimeConverter.class)
    private Date lotterysaleendtime;

    /**
     * 售奖号码
     */
    @TableField("lotteryDrawResult")
    @ExcelField(value = "号码")
    private String lotterydrawresult;

    /**
     * 售奖号码（原始）
     */
    @TableField("lotteryUnsortDrawresult")
    private String lotteryunsortdrawresult;

    /**
     * 兑奖开始时间
     */
    @TableField("lotteryPaidBeginTime")
    private Date lotterypaidbegintime;

    /**
     * 兑奖结束时间
     */
    @TableField("lotteryPaidEndTime")
    private Date lotterypaidendtime;

    /**
     * 兑奖明细
     */
    @TableField("drawPdfUrl")
    private String drawpdfurl;

    /**
     * 红号
     */
    @TableField("red")
    @ExcelField(value = "红号")
    private String red;

    /**
     * 蓝号
     */
    @TableField("blue")
    @ExcelField(value = "蓝号")
    private String blue;

}